package com.igeek.entity;

import java.util.List;

/**
 * 部门表映射类
 */
public class Department {
    private Integer depId;
    private String depName;

    //一对多映射，需要使用集合描述映射对象
    private List<Employee> empList;

    public Integer getDepId() {
        return depId;
    }

    public void setDepId(Integer depId) {
        this.depId = depId;
    }

    public String getDepName() {
        return depName;
    }

    public void setDepName(String depName) {
        this.depName = depName;
    }

    public List<Employee> getEmpList() {
        return empList;
    }

    public void setEmpList(List<Employee> empList) {
        this.empList = empList;
    }
}
